﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace THO7_Team8
{
    public partial class MedianFilterConfiguration : ConfigForm
    {
        public MedianFilterConfiguration()
        {
            InitializeComponent();
            comboBox1.SelectedIndex = 0;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //Parse the user input to get a usable int value
            String a = comboBox1.SelectedItem.ToString();
           _configValue = Convert.ToInt16(a.Substring(0, a.IndexOf("x")));
            this.Hide();
        }
    }
}
